
const UserKey = 'USER-KEY'

export function getUserKey() {
  return JSON.parse(localStorage.getItem(UserKey))
}

export function setUserKey(userKey) {
  localStorage.setItem(UserKey, JSON.stringify(userKey))
}

export function removeUserKey() {
  return localStorage.removeItem(UserKey)
}
